<?php 
$id= $_GET["id"];
$sql = "select * from sinh_vien where ID=".$id;
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
?>
<form name="form1" method="post" action="?mod=qlsv&act=updateOk" enctype="multipart/form-data">
<input name="id" type="hidden" value="<?php echo $row["ID"] ?>">

  <p>H&#7885; v&agrave; T&ecirc;n:
    <input type="text" name="Hoten" value="<?php echo $row["Hoten"]?>">
  </p>
  <p>T&ecirc;n &#273;&#259;ng nh&#7853;p: 
    <input type="text" name="Username" value="<?php echo $row["Username"]?>">
  </p>
  <p>M&#7853;t kh&#7849;u: 
    <input type="text" name="Password" value="<?php echo $row["Password"]?>">
  </p>
  <p>Email: 
    <input type="text" name="Email" value="<?php echo $row["Email"]?>">
  </p>
  <p>&#272;&#7883;a ch&#7881;: 
    <input type="text" name="Diachi" value="<?php echo $row["Diachi"]?>">
  </p>
  <p>
    <input type="submit" name="Submit" value="L&#432;u">
  </p>
</form>
